package com.edu.mapper.base;


/**
 * @Auther: thinkpad
 * @Date: 2019/1/29 12:00
 * @Description:
 */
public interface BaseMapper<T> {
    T findById(Integer id);

    T findByString(String str);

    void deleteById(Integer id);

    void deleteByString(String str);

    void update(T t);

    void insert(T t);
}
